import { NgModule } from '@angular/core';
import { ShareModule } from './share.module';


import { AuthGuardService } from '../service/AuthGuardService';
import { AuthService } from '../service/AuthService';
import { UserService } from '../service/UserService';
import { AuthRoutingModule } from '../router/auth';
import { LoginComponent } from '../components/login/login';
import { RegisterComponent } from '../components/register/register';


@NgModule({
    imports: [
        ShareModule,
        AuthRoutingModule
    ],
    declarations: [
        LoginComponent,
        RegisterComponent
    ],
    providers: [
        AuthGuardService,
        AuthService,
        UserService
    ],
    exports: [
        LoginComponent,
        RegisterComponent
    ]
})
export class AuthModule {}
